package com.cloudatum.service;

import com.cloudatum.mybatis.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 保存订单
 * Created by Administrator on 2015/10/29.
 */
@Mapper
public interface OrderMapper {

    int insertOrder(@Param("uuid") String uuid, @Param("phone") String phone, @Param("activityId") String activityId, @Param("goodsId") String goodsId);

    int selectOrderByUUID(@Param("uuid")String uuid);

    int selectPhoneCounts(@Param("phone")String phone);

    int completeOrder(@Param("uuid")String uuid,@Param("contact")String contact,@Param("address")String address,@Param("remark")String remark);
}
